package org.example.group5back.entity;

public class MaterialEntity {
    private  int material_id = 0;
    private String material_name = "";
    private String material_number = "";
    private String material_type = "";

    private String material_manufacturer = "";
    private String material_productiondate = "";

    private String material_factorysite= "";

    private String material_contacts = "";
    private String material_telephone = "";
    private String material_statement = "";


    public int getMaterial_id() {
        return material_id;
    }

    public void setMaterial_id(int material_id) {
        this.material_id = material_id;
    }

    public String getMaterial_name() {
        return material_name;
    }

    public void setMaterial_name(String material_name) {
        this.material_name = material_name;
    }

    public String getMaterial_number() {
        return material_number;
    }

    public void setMaterial_number(String material_number) {
        this.material_number = material_number;
    }

    public String getMaterial_type() {
        return material_type;
    }

    public void setMaterial_type(String material_type) {
        this.material_type = material_type;
    }

    public String getMaterial_manufacturer() {
        return material_manufacturer;
    }

    public void setMaterial_manufacturer(String material_manufacturer) {
        this.material_manufacturer = material_manufacturer;
    }

    public String getMaterial_productiondate() {
        return material_productiondate;
    }

    public void setMaterial_productiondate(String material_productiondate) {
        this.material_productiondate = material_productiondate;
    }

    public String getMaterial_factorysite() {
        return material_factorysite;
    }

    public void setMaterial_factorysite(String material_factorysite) {
        this.material_factorysite = material_factorysite;
    }

    public String getMaterial_contacts() {
        return material_contacts;
    }

    public void setMaterial_contacts(String material_contacts) {
        this.material_contacts = material_contacts;
    }

    public String getMaterial_telephone() {
        return material_telephone;
    }

    public void setMaterial_telephone(String material_telephone) {
        this.material_telephone = material_telephone;
    }

    public String getMaterial_statement() {
        return material_statement;
    }

    public void setMaterial_statement(String material_statement) {
        this.material_statement = material_statement;
    }


    public MaterialEntity(int material_id, String material_name, String material_number, String material_type, String material_manufacturer, String material_productiondate, String material_factorysite, String material_contacts, String material_telephone, String material_statement) {
        this.material_id = material_id;
        this.material_name = material_name;
        this.material_number = material_number;
        this.material_type = material_type;
        this.material_manufacturer = material_manufacturer;
        this.material_productiondate = material_productiondate;
        this.material_factorysite = material_factorysite;
        this.material_contacts = material_contacts;
        this.material_telephone = material_telephone;
        this.material_statement = material_statement;
    }

    @Override
    public String toString() {
        return "MaterialEntity{" +
                "material_id=" + material_id +
                ", material_name='" + material_name + '\'' +
                ", material_number='" + material_number + '\'' +
                ", material_type='" + material_type + '\'' +
                ", material_manufacturer='" + material_manufacturer + '\'' +
                ", material_productiondate='" + material_productiondate + '\'' +
                ", material_factorysite='" + material_factorysite + '\'' +
                ", material_contacts='" + material_contacts + '\'' +
                ", material_telephone='" + material_telephone + '\'' +
                ", material_statement='" + material_statement + '\'' +
                '}';
    }
}
